package com.dailyblue.java.spring.ioc.demo3;

import lombok.AllArgsConstructor;

import java.math.BigDecimal;
// 通过构造器给对象的属性赋值
@AllArgsConstructor
public class DemoB {
    private Integer a;
    private String b;
    private Character c;
    private Double d;
    private BigDecimal e;

    @Override
    public String toString() {
        return "DemoB{" +
                "a=" + a +
                ", b='" + b + '\'' +
                ", c=" + c +
                ", d=" + d +
                ", e=" + e +
                '}';
    }
}
